home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / ScreenSaver / Twist 1.0.sit / Twist 1.0 / PPC Read Me < prev    next >
MacBinary  |  1995-06-29  |  1.8 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Jun 29 13:39:01 1995, modified Thu Jun 29 13:39:01 1995, creator SimpleText, type ASCII, 1263 bytes "PPC Read Me" , at 0x56f 332 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 50 50 43 20 52 65 | 61 64 20 4d 65 00 00 00 |..PPC Re|ad Me...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 00 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 04 ef 00 | 00 01 4c ac 18 95 b5 ac |........|..L.....|
|00000060| 18 95 b5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 eb 89 00 00 |........|........|
|00000080| 48 6f 77 20 74 6f 20 77 | 72 69 74 65 20 50 50 43 |How to w|rite PPC|
|00000090| 20 6d 6f 64 75 6c 65 73 | 20 28 43 75 72 72 65 6e | modules| (Curren|
|000000a0| 74 6c 79 20 43 6f 64 65 | 57 61 72 72 69 6f 72 20 |tly Code|Warrior |
|000000b0| 43 20 6f 6e 6c 79 29 2e | 0d 50 72 65 6c 69 6d 61 |C only).|.Prelima|
|000000c0| 6e 61 72 79 20 64 72 61 | 66 74 20 36 2f 35 2f 39 |nary dra|ft 6/5/9|
|000000d0| 35 20 62 79 20 41 6e 64 | 72 65 77 20 41 72 6d 73 |5 by And|rew Arms|
|000000e0| 74 72 6f 6e 67 0d 0d 54 | 68 65 72 65 20 61 72 65 |trong..T|here are|
|000000f0| 20 74 77 6f 20 70 61 72 | 74 73 20 74 6f 20 79 6f | two par|ts to yo|
|00000100| 75 72 20 50 50 43 20 6e | 61 74 69 76 65 20 6d 6f |ur PPC n|ative mo|
|00000110| 64 75 6c 65 2e 20 54 68 | 65 20 66 69 72 73 74 20 |dule. Th|e first |
|00000120| 70 61 72 74 20 69 73 20 | 61 20 36 38 6b 20 63 6f |part is |a 68k co|
|00000130| 64 65 20 72 65 73 6f 75 | 72 63 65 20 74 68 61 74 |de resou|rce that|
|00000140| 20 27 74 68 75 6e 6b 73 | 27 20 74 68 65 20 63 61 | 'thunks|' the ca|
|00000150| 6c 6c 20 66 72 6f 6d 20 | 74 68 65 20 65 6e 67 69 |ll from |the engi|
|00000160| 6e 65 20 74 6f 20 74 68 | 65 20 50 50 43 20 6e 61 |ne to th|e PPC na|
|00000170| 74 69 76 65 20 73 68 61 | 72 65 64 20 6c 69 62 72 |tive sha|red libr|
|00000180| 61 72 79 2e 20 54 68 65 | 20 73 65 63 6f 6e 64 20 |ary. The| second |
|00000190| 69 73 20 74 68 65 20 50 | 50 43 20 73 68 61 72 65 |is the P|PC share|
|000001a0| 64 20 6c 69 62 61 72 79 | 20 74 68 61 74 20 64 6f |d libary| that do|
|000001b0| 65 73 20 74 68 65 20 63 | 6f 6f 6c 20 73 74 75 66 |es the c|ool stuf|
|000001c0| 66 2e 0d 0d 53 74 75 62 | 4d 6f 64 2e b9 20 68 61 |f...Stub|Mod.. ha|
|000001d0| 73 20 74 77 6f 20 69 6e | 70 75 74 20 66 69 6c 65 |s two in|put file|
|000001e0| 73 20 2d 20 53 74 75 62 | 4d 6f 64 2e 63 20 26 20 |s - Stub|Mod.c & |
|000001f0| 53 74 75 62 4d 6f 64 2e | b9 2e 72 73 72 63 2e 20 |StubMod.|..rsrc. |
|00000200| 53 74 75 62 4d 6f 64 2e | 63 20 6c 6f 61 64 73 20 |StubMod.|c loads |
|00000210| 69 6e 20 74 68 65 20 50 | 50 43 20 73 68 61 72 65 |in the P|PC share|
|00000220| 64 20 6c 69 62 72 61 72 | 79 2c 20 65 73 74 61 62 |d librar|y, estab|
|00000230| 6c 69 73 68 65 73 20 61 | 20 6c 69 6e 6b 2c 20 61 |lishes a| link, a|
|00000240| 6e 64 20 70 61 73 73 65 | 73 20 6f 6e 20 61 6c 6c |nd passe|s on all|
|00000250| 20 6f 66 20 74 68 65 20 | 41 66 74 65 72 44 61 72 | of the |AfterDar|
|00000260| 6b 20 6d 65 73 73 61 67 | 65 73 20 74 6f 20 79 6f |k messag|es to yo|
|00000270| 75 72 20 63 6f 64 65 2e | 20 53 74 75 62 4d 6f 64 |ur code.| StubMod|
|00000280| 2e b9 2e 72 73 72 63 20 | 68 61 73 20 74 68 65 20 |...rsrc |has the |
|00000290| 65 72 72 6f 72 20 73 74 | 72 69 6e 67 20 74 68 61 |error st|ring tha|
|000002a0| 74 27 73 20 64 69 73 70 | 6c 61 79 65 64 20 77 68 |t's disp|layed wh|
|000002b0| 65 6e 20 79 6f 75 72 20 | 63 6f 64 65 20 69 73 20 |en your |code is |
|000002c0| 72 75 6e 20 6f 6e 20 61 | 20 36 38 6b 20 6d 61 63 |run on a| 68k mac|
|000002d0| 68 69 6e 65 2e 20 54 68 | 65 20 6f 75 74 70 75 74 |hine. Th|e output|
|000002e0| 20 6f 66 20 74 68 65 20 | 70 72 6f 6a 65 63 74 20 | of the |project |
|000002f0| 69 73 20 27 53 74 75 62 | 4d 6f 64 57 61 72 72 69 |is 'Stub|ModWarri|
|00000300| 6f 72 27 2c 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |or', a c|ompiled |
|00000310| 72 65 73 6f 75 72 63 65 | 20 66 69 6c 65 20 74 68 |resource| file th|
|00000320| 61 74 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 69 6e |at you s|hould in|
|00000330| 63 6c 75 64 65 20 69 6e | 20 79 6f 75 72 20 0d 0d |clude in| your ..|
|00000340| 4a 75 73 74 4f 76 61 6c | 73 2e b9 20 69 73 20 61 |JustOval|s.. is a|
|00000350| 6e 20 65 78 61 6d 70 6c | 65 20 6f 66 20 61 20 73 |n exampl|e of a s|
|00000360| 69 6d 70 6c 65 20 50 50 | 43 20 6e 61 74 69 76 65 |imple PP|C native|
|00000370| 20 6d 6f 64 75 6c 65 2e | 20 54 68 65 20 70 72 6f | module.| The pro|
|00000380| 6a 65 63 74 20 74 79 70 | 65 20 69 73 20 61 20 27 |ject typ|e is a '|
|00000390| 53 68 61 72 65 64 20 4c | 69 62 72 61 72 79 27 20 |Shared L|ibrary' |
|000003a0| 77 69 74 68 20 61 20 63 | 72 65 61 74 6f 72 2f 74 |with a c|reator/t|
|000003b0| 79 70 65 20 6f 66 20 22 | 41 44 72 6b 22 2f 22 41 |ype of "|ADrk"/"A|
|000003c0| 44 67 6d 22 2e 20 47 72 | 61 70 68 69 63 73 4d 6f |Dgm". Gr|aphicsMo|
|000003d0| 64 75 6c 65 73 2e 63 20 | 69 73 20 61 20 67 6f 6f |dules.c |is a goo|
|000003e0| 64 20 67 65 6e 65 72 69 | 63 20 73 68 65 6c 6c 20 |d generi|c shell |
|000003f0| 74 68 61 74 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |that you| can use|
|00000400| 20 61 73 20 61 20 73 74 | 61 72 74 69 6e 67 20 70 | as a st|arting p|
|00000410| 6f 69 6e 74 20 66 6f 72 | 20 61 6c 6c 20 6f 66 20 |oint for| all of |
|00000420| 79 6f 75 72 20 6d 6f 64 | 75 6c 65 73 2e 20 4a 75 |your mod|ules. Ju|
|00000430| 73 74 4f 76 61 6c 73 2e | 63 20 69 73 20 77 68 65 |stOvals.|c is whe|
|00000440| 72 65 20 74 68 65 20 72 | 65 61 6c 20 77 6f 72 6b |re the r|eal work|
|00000450| 20 67 65 74 73 20 64 6f | 6e 65 2e 20 42 65 73 69 | gets do|ne. Besi|
|00000460| 64 65 73 20 74 68 65 73 | 65 20 74 77 6f 20 27 63 |des thes|e two 'c|
|00000470| 27 20 66 69 6c 65 73 2c | 20 20 27 53 74 75 62 4d |' files,| 'StubM|
|00000480| 6f 64 57 61 72 72 69 6f | 72 27 20 69 73 20 69 6e |odWarrio|r' is in|
|00000490| 63 6c 75 64 65 64 20 61 | 6e 64 20 68 61 6e 64 6c |cluded a|nd handl|
|000004a0| 65 73 20 74 68 65 20 74 | 72 61 6e 73 69 74 69 6f |es the t|ransitio|
|000004b0| 6e 20 66 72 6f 6d 20 36 | 38 6b 20 74 6f 20 50 50 |n from 6|8k to PP|
|000004c0| 43 2e 0d 0d 36 2f 32 39 | 2f 39 35 20 28 61 65 61 |C...6/29|/95 (aea|
|000004d0| 29 0d 54 68 65 20 22 47 | 72 61 70 68 69 63 73 4d |).The "G|raphicsM|
|000004e0| 6f 64 75 6c 65 5f 54 79 | 70 65 73 2e 68 22 20 66 |odule_Ty|pes.h" f|
|000004f0| 69 6c 65 20 68 61 73 20 | 62 65 65 6e 20 62 72 61 |ile has |been bra|
|00000500| 63 6b 65 74 65 64 20 77 | 69 74 68 20 74 68 65 20 |cketed w|ith the |
|00000510| 70 72 6f 70 65 72 20 61 | 6c 69 67 6e 6d 65 6e 74 |proper a|lignment|
|00000520| 20 70 72 61 67 6d 61 73 | 2e 0d 0d 49 66 20 79 6f | pragmas|...If yo|
|00000530| 75 20 68 61 76 65 20 71 | 75 65 73 74 69 6f 6e 73 |u have q|uestions|
|00000540| 2c 20 70 6c 65 61 73 65 | 20 63 6f 6e 74 61 63 74 |, please| contact|
|00000550| 20 6f 75 72 20 74 65 63 | 68 20 73 75 70 70 6f 72 | our tec|h suppor|
|00000560| 74 20 64 65 70 61 72 74 | 6d 65 6e 74 2e 0d 0d 00 |t depart|ment....|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 1a | 00 00 00 1a 00 00 00 32 |........|.......2|
|00000590| ab f5 01 a0 06 6d 75 6e | 67 65 72 00 00 00 00 00 |.....mun|ger.....|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 0b 50 50 43 20 52 65 61 | 64 20 4d 65 02 00 00 00 |.PPC Rea|d Me....|
|000005c0| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........|
|000005d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 ae 65 03 b3 00 00 | 00 00 00 00 01 4c 00 00 |...e....|.....L..|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000610| 00 00 01 00 ab f3 a7 17 | 0a 53 69 6d 70 6c 65 54 |........|.SimpleT|
|00000620| 65 78 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ext.....|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 02 00 00 00 02 |........|........|
|00000640| ab f8 d7 4a 00 00 00 00 | 00 00 00 00 00 00 00 00 |...J....|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 16 00 01 00 00 | 00 00 00 10 00 0c 00 01 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|000006a0| 01 1a 00 00 00 1a 00 00 | 00 32 00 ca 29 b8 19 b6 |........|.2..)...|
|000006b0| 00 00 00 1c 00 32 00 00 | 73 74 79 6c 00 00 00 0a |.....2..|styl....|
|000006c0| 00 80 ff ff 00 00 00 00 | 00 ca 86 70 00 00 00 00 |........|...p....|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+